package com.todo.strategy.offline.iface.request;

import com.todo.common.common.entity.CurrentStaff;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/12/15 00:09
 * @description
 */
@Data
@Schema(title = "人工检测平台攻略入参",description = "人工检测平台攻略入参")
public class DetectionPlatformStrategyReq {

    private CurrentStaff _staff;

    @Schema(title = "主键id",description = "主键id")
    private Long platformStrategyId;

    @Schema(title = "是否通过",description = "是否通过")
    private Boolean pass;

    public boolean baseCheck() {
        if (platformStrategyId == null || pass == null){
            return false;
        }
        return true;
    }
}
